﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MenuItem_9Feb
{
    class Program
    {
        static void Main(string[] args)
        {
            MenuItem[] menu = new MenuItem[7];
            menu[0] = new Beverage(2.00, 3.00, 4.00, "Espresso");
            menu[1] = new Beverage(2.99, 3.99, 4.99, "Cappuchino");
            menu[2] = new Beverage(1.25, 2.25, 3.25, "House coffee");
            menu[3] = new Beverage(2.00, 3.00, 4.00, "Espresso");
            menu[4] = new Snack(1.50, "Muffin");
            menu[5] = new Snack(1.95, "Baget");
            menu[6] = new Snack(2.95, "Croissant");
            for (int i = 0; i < 7; i++)
            {
                menu[i].PrintToConsole();
            }
        }
    }
}
